﻿namespace In66.Net.Repository.EFCoreData.MySql
{
    public class MySqlDbContext : BaseDbContext
    {
        public MySqlDbContext(
            DbContextOptions options,
            IEntityInfo entityInfo)
            : base(options, entityInfo)
        {
        }
        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            modelBuilder.HasCharSet("utf8mb4 ");
            base.OnModelCreating(modelBuilder);
        }
    }
}
